function [matrixDim, matrix] = leggiDaFile(nomeFile)
fp = fopen(nomeFile);
matrixDim = fscanf(fp, '%f ', 1);
matrix=zeros(matrixDim,matrixDim);
for k=1:matrixDim
    for l=1:matrixDim
        matrix(k,l) = fscanf(fp, '%f ', 1) + (fscanf(fp, '%f ', 1))*1i;
    end
end
